import { post, get } from '../../../request.js'

// 查询接口访问日志列表
export function apiLogList(query) {
    return post({
        url: '/tool/pserv/apiLog/pageList',
        params: query
    })
}

// 删除接口访问日志
export const delApiLog = params => {
    return post({
        url: '/tool/pserv/apiLog/delete',
        params
    })
}

// 清理接口访问日志
export function clearApiLog() {
    return get({
        url: '/tool/pserv/apiLog/clear'
    })
}
